package com.cjc.myimageload;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageView;

import com.cjc.myimageload.adapter.Image;
import com.cjc.myimageload.lib.ImageLoader;

public class CopyOfMainActivity extends Activity {
	private ImageLoader mImageLoader;
	private ImageView iv_copy_fo_image;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main_copy_of);
		mImageLoader = new ImageLoader(this);
		iv_copy_fo_image = (ImageView) findViewById(R.id.iv_copy_fo_image);
		Image iv6 = new Image();
		iv6.imagePic = "http://d.img.youboy.com/20113/12/14/g1/g1_12252420s.jpg";
		iv6.imageTime = "2015-2-3 10:22:46";
		mImageLoader.displayImage(iv6.imagePic, iv6.imageTime, iv_copy_fo_image);
	}
}
